<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="java.util.List" %>
<%@ page import="com.wang.entity.User" %><%--
  Created by IntelliJ IDEA.
  User: 王宝田
  Date: 2022/6/28
  Time: 18:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>个人信息</title>
</head>
<body>
<table BGCOLOR="#f0ffff" frame="void" width="100%">
    <thead>
    <tr align="center" bgcolor="#f0ffff">
        <th colspan="9">我的信息</th>
    </tr>
    </thead>
    <tbody>
    <tr align="center" bgcolor="#f0ffff">
        <td>id</td>
        <td>用户名</td>
        <td>密码</td>
        <td>身份</td>
        <td>班级</td>
        <td>性别</td>
        <td>年龄</td>
        <td>电话</td>
        <td>地址</td>
    </tr>
    <c:forEach items="${list}" var="aa">
        <tr align="center" bgcolor="#f0ffff">
            <td>${aa.id}</td>
            <td>${aa.username}</td>
            <td>${aa.password}</td>
            <td>${aa.type}</td>
            <td>${aa.classes}</td>
            <td>${aa.sex}</td>
            <td>${aa.age}</td>
            <td>${aa.phone}</td>
            <td>${aa.address}</td>
        </tr>
    </c:forEach>
    </tbody>

    <tfoot>
    <tr align="center" bgcolor="#f0ffff">
        <td>脚注</td>
    </tr>
    </tfoot>

</table>


</body>
</html>
